<template>
<div>路由二</div> 
<div>{{name}}</div> 
<div>{{age}}</div> 
<a-button type="primary">按钮2233</a-button>
</template>
<script lang="ts" setup>
import { reactive, ref } from 'vue';
import {useStore} from 'vuex'
let store=useStore()
let name=store.state.name
let age=store.state.age
</script>
<style scoped></style>